from langchain_openai import ChatOpenAI, OpenAI

llm = OpenAI(model="yiyan", openai_api_key="...", base_url="http://localhost:8080/v1", streaming=True)
result = llm.invoke("how can langsmith help with testing?")
print(result)